<?php

namespace App\Model\Foundation;

use Illuminate\Database\Eloquent\Model;

class Task extends Model
{
    const  PUBLISHED = 1;
    const  UNPUBLISHED = 0;

    public $table = 'tasks';
    public $primaryKey = 'id';
    public $timestamps = false;

    protected $fillable = [
        'classeid' ,
        'classetype' ,
        'teacheruid',
        'scheduleid' ,
        'title' ,
        'content' ,
        'note' ,
        'published' ,
    ];

}
